﻿using System.Collections.Generic;
using HKEA.CMS.Core.Models;
using HKEA.CMS.Core.Utility;

namespace HKEA.CMS.Core.IDAL.Tbl
{
    public interface ItblMediaRoomRelated
    {
        List<tblMediaRoom_Related> GetListByENT(tblMediaRoom_Related ent);

        int InsertList(List<int> MediaUIDList, string strCategory, int ToRelatedUID);

        int UpdateList(List<int> MediaRelatedUIDList, string strCategory,List<int> MediaUIDList);

        int DeleteListFalse(List<int> MediaRelatedUIDList);
        List<M_MediaRoomRelatedDetail> GetList(tblMediaRoom_Related ent, List<int> WithOutList);
        List<Ext_MediaRoom> GetListWithMediaRoomByENT(tblMediaRoom_Related ent);

        List<Ext_MediaRoom> GetListWithMediaRoomByENT(Ext_MediaRoom ent);

        List<tblMediaRoom_Related> GetListByENT(tblMediaRoom_Related ent, PageParam param, string strPropertyName, string strOrderBy);
        List<tblMediaRoom_Related> GetListWithOutAppDelByENT(tblMediaRoom_Related ent);
        int GetCountByENT(tblMediaRoom_Related ent);       

        int InsertENT(tblMediaRoom_Related ent);       

        int UpdateENT(tblMediaRoom_Related ent);       

        int DeleteENT(tblMediaRoom_Related ent);
    }
}
